package com.zpp.wedding_admin.service.impl;

import com.zpp.wedding_admin.entity.LocationLable;
import com.zpp.wedding_admin.mapper.LocationLableMapper;
import com.zpp.wedding_admin.service.ILocationLableService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 朱盼盼
 * @since 2022-12-29
 */
@Service
public class LocationLableServiceImpl extends ServiceImpl<LocationLableMapper, LocationLable> implements ILocationLableService {

    @Autowired
    private LocationLableMapper lableMapper;

    @Override
    public boolean deleteAllSelect(Integer[] iDs) {
        return lableMapper.deleteAllSelect(iDs);
    }

    @Override
    public boolean forbid(Integer id) {
        return lableMapper.forbid(id);
    }

    @Override
    public boolean unForbid(Integer id) {
        return lableMapper.unForbid(id);
    }
}
